package d5_block;

public class Student {
    static int number = 80;
    //静态代码块
    static {
        System.out.println("静态代码块执行！");
    }

    //实例代码块
    {
        System.out.println("实例代码块执行！");
    }

    public Student(){
        System.out.println("无参构造器执行了！");
    }

    public Student(String name){
        System.out.println("有参数构造器执行了！");
    }
}
